package com.wm.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author hyq
 * @since 2023-10-10 22:48:15
 */
@Getter
@Setter
@TableName("old_for_new_service")
@ApiModel(value = "OldForNewService对象", description = "")
public class OldForNewService implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("以旧换新id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("所在地区")
    @TableField("area")
    private String area;

    @ApiModelProperty("店铺id")
    @TableField("shop_id")
    private Integer shopId;

    @ApiModelProperty("手机号码")
    @TableField("phone_number")
    private String phoneNumber;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;


}
